package com.lian.aieduc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.client.RestTemplate;
import org.springframework.web.socket.config.annotation.EnableWebSocket;

@SpringBootApplication
@EnableWebSocket
public class AiEducServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AiEducServerApplication.class, args);
    }

    @Bean
    public RestTemplate restController() {
        return new RestTemplate();
    }

}
